import FeatureLayer from "@arcgis/core/layers/FeatureLayer";
//添加图层
export const fire_station_layer = new FeatureLayer({
  title: "消防站",
  id: "0",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/0",
});
export const hospital_layer = new FeatureLayer({
  title: "医院",
  id: "1",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/1",
});
export const factory_layer = new FeatureLayer({
  title: "化工厂",
  id: "2",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/huagongchang/MapServer/2",
});
export const police_layer = new FeatureLayer({
  title: "公安局",
  id: "3",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/3",
});
export const river_line_layer = new FeatureLayer({
  title: "河流",
  id: "5",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/5",
});
export const sjz_road_layer = new FeatureLayer({
  title: "路网",
  id: "6",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/6",
});
export const river_area_layer = new FeatureLayer({
  title: "湖泊",
  id: "7",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/7",
});
export const sjz_county_layer = new FeatureLayer({
  title: "石家庄市区",
  id: "9",
  url: "https://124.222.85.168:6443/arcgis/rest/services/map/sjz_map/MapServer/9",
  opacity: 0.4,
});
